Skip to main content

womenanalysis

Table Name: womenanalysis

The womenanalysis table captures detailed records of women's health, pregnancy, and antenatal visits, primarily used for analysis and tracking in healthcare systems.


Columns

Column NameData TypeConstraintsDescription
womenAnalysisIdint(11)Primary Key, Not NullUnique identifier for each analysis record.
antenatalVisitNumberint(11)NullableNumber of antenatal visits made by the woman.
createdDatedatetimeNullableThe date and time when the record was created.
deliveryDatedatetimeNullableThe actual delivery date of the woman.
deliveryDuedatedatetimeNullableThe expected due date for delivery.
lastEditedDatedatetimeNullableThe date and time when the record was last edited.
liveBirthint(11)NullableNumber of live births resulting from the pregnancy.
nextVisitDuedatedatetimeNullableDue date for the next scheduled visit.
pregnancyDurationint(11)NullableDuration of the pregnancy in weeks (if applicable).
pregnancyStatusvarchar(20)NullableCurrent status of the pregnancy (e.g., ONGOING, COMPLETED, TERMINATED).
pregnancyTerminationDatedatetimeNullableDate when the pregnancy was terminated (if applicable).
registeredPatientNumbervarchar(255)NullableUnique identifier for the woman in the healthcare system.
vaccinationCenterIdint(11)NullableIdentifier of the vaccination center associated with the woman.
vaccinatorIdint(11)NullableIdentifier of the vaccinator associated with the woman's record.
visitDatedatetimeNullableThe date of the antenatal visit.
visitNoint(11)Not NullThe sequential number of the visit in the analysis record.
womenIdint(11)Nullable, Foreign KeyIdentifier linking the woman to this analysis record.
createdByUserIdint(11)NullableIdentifier of the user who created the record.
lastEditedByUserIdint(11)NullableIdentifier of the user who last edited the record.

Indexes

  1. Primary Key:
    • womenAnalysisId: Ensures uniqueness for each analysis record.
  2. Foreign Key Index:
    • WomenAnalysis_women_mappedId_FK: Links womenId to the women table for establishing the relationship.

Foreign Key Relationships

  1. women table:
    • womenId: Links the record to the corresponding entry in the women table, providing access to personal and demographic data.

Usage Notes

  • Purpose:
    • The table is used to track and analyze women's health, pregnancy, and antenatal care records for effective healthcare management.
  • Important Columns:
    • deliveryDate and deliveryDuedate: Useful for tracking on-time deliveries.
    • pregnancyStatus and pregnancyTerminationDate: Help monitor and report pregnancy outcomes.
    • visitNo: Ensures chronological tracking of visits.
  • Query Optimization:
    • Adding indexes on frequently queried fields like visitDate, pregnancyStatus, and deliveryDate may improve performance for reporting and analysis.